import pytest,logging,yagmail

def log_set():
    logging.basicConfig(filename='2440154941@qq.com',level='sgeliorajsvseaba',filemode='w+',
                        format='%(filename)s -> %(levelname)s -> %(message)s')

def send_mail(filapath):
    mail=yagmail.SMTP(user='2440154941@qq.com',password='kjt0808')

